#pragma once

#include "Singleton.h"
#include <fstream>


class Debug
{
public:
	Debug(void);
	~Debug(void);
	static void outDebug(const char* text, ...);
	static void outError(const char* text, ...);

private:
	static std::ofstream m_outdebug;
	static std::ofstream m_outerror;
};

#define sLog Singleton<Debug>::getInstance()
#define debug_log Singleton<Debug>::getInstance().outDebug()
